<template>
	<view>
		<Temp>
			<block-title>名师简介</block-title>
			<page-detail :htmlNodes="htmlNodes" />
		</Temp>
	</view>
</template>

<script setup>
import { onMounted, reactive, ref } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
import { request } from '../../utils/request.js'
import Temp from "../../components/temp/temp.vue"
import BlockTitle from "../../components/blockTitle/blockTitle.vue"
import PageDetail from "../../components/pageDetail/pageDetail.vue"

onMounted(() => {
  getData()
});

const htmlNodes = ref(`<ul><li>你好~</li></ul>`)

const getMasterList = () => {
	request({
	  url: '/system/dict/data/type/sys_master_data_list',
	  data: {}
	}).then(res => {
		if(res.data.length){
			masterData.value = {
				...res.data[0],
				content: res.data[0].remark ? JSON.parse(res.data[0].remark).htmlText : '',
				img: res.data[0].remark ? JSON.parse(res.data[0].remark).imgUrl : '',
			}
		}
	})
}
		
	
</script>

<style lang="scss">

</style>
